<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <!--适配移动设备-->
    <meta name="viewport" content="width=device-width,initial-scale=1">
    <title>Clean Blog</title>
    <!--bootstrap CSS 核心文件-->
    <link rel="stylesheet" href="lib/bootstrap/css/bootstrap.min.css"/>
    <link rel="stylesheet" href="css/index.css"/>
    <!--fonts字体图标库-->
    <link rel="stylesheet" href="css/font-awesome.min.css" rel="stylesheet" type=text/css>
    <!--不支持HTML5和不支持media查询的浏览器使用下面两个js插件兼容-->
    <!--if 1t IE 9-->
    <!--当浏览器不支持html5标签需要引入核心的js文件-->
    <script src="lib/html5shiv/html5shiv.min.js"></script>
    <!--当不支持媒体查询时引入respond.js本地文件-->
    <script src="lib/respond/respond.js"></script>

</head>
<body>
<!--导航条B-->
<nav class="navbar navbar-default navbar-custom">
    <div class="container-fluid">
        <!-- Brand and toggle get grouped for better mobile display -->
        <div class="navbar-header">
            <span class="sr-only">Toggle navigation</span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            </button>
            <a class="navbar-brand" href="index.html">StartBootstrap</a>
        </div>
        <!-- Collect the nav links, forms, and other content for toggling -->
        <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
            <ul class="nav navbar-nav navbar-right">
                <li><a href="index.html">Home</a></li>
                <li><a href="about.html">About</a></li>
                <li><a href="post.html">Sample Post</a></li>
                <li><a href="contact.html">Contact</a></li>
            </ul>
        </div>
    </div>
</nav>
<!--头部-->
<!--头部-->
<header class="intro-header">
    <div class="site-heading">
        <h1>Clean Blog</h1>
        <hr class="small">
        <span class="subheading">A Clean Blog Theme by Start Bootstrap</span>
    </div>
</header>


<!--内容部分-->
<!--<div class="blog_content">-->
    <!--<div class="row">-->
        <!--<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">-->

        <!--</div>-->
    <!--</div>-->
<!--</div>-->


<!--底部翻页-->
<div class="container">
    <div class="row">
        <div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">

            <div id="post">

            </div>
            <!--分类翻页-->
            <ul class="pager">
                <li class="previous"><a href="#"><span aria-hidden="true">&larr;</span> Older</a></li>
                <li class="next"><a href="#">Newer <span aria-hidden="true">&rarr;</span></a></li>
            </ul>
        </div>
    </div>
</div>


<!--模板-->


<!--底部icon-->
<footer>
    <div class="container">
        <div class="row">
            <div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
                <ul class="list-inline text-center">
                    <li>
                        <a href="#">
                            <span class="fa-stack fa-lg">
                              <i class="fa fa-circle fa-stack-2x"></i>
                              <i class="fa icon-twitter fa-stack-1x fa-inverse"></i>
                            </span>
                        </a>
                    </li>
                    <li>
                        <a href="#">
                            <span class="fa-stack fa-lg">
                              <i class="fa fa-circle fa-stack-2x"></i>
                              <i class="fa icon-facebook fa-stack-1x fa-inverse"></i>
                            </span>
                        </a>
                    </li>
                    <li>
                        <a href="#">
                <span class="fa-stack fa-lg">
                  <i class="fa fa-circle fa-stack-2x"></i>
                  <i class="fa  icon-github fa-stack-1x fa-inverse"></i>
                </span>
                        </a>
                    </li>
                </ul>
                <p class="copyright text-muted">Copyright &copy; Your Website 2016</p>
            </div>
        </div>
    </div>
</footer>
</body>

<script src="lib/jquery/jquery.min.js"></script>
<script src="lib/bootstrap/js/bootstrap.js"></script>
<script src="lib/artTemplate/template.js"></script>
<script src="js/index.js"></script>

<!--渲染页面信息模板-->
<script id="model" type="text/html">
    {{each data as value i}}
    <div class="post-preview">
    <a href="">
        <h3>{{value.title}}</h3>
        <h4>{{value.excerpt}}</h4>
    </a>
    <p class="post_time">Posted by <a href="#">{{value.slug}}</a> {{value.created}}</p>
    </div>
    <hr>
    {{/each}}
</script>
</html>

